<div style="padding-top: 10px; padding-bottom: 10px; overflow: auto; max-height: 99%">
    <div style="float: left">
        <span>Có <b><?php echo $count_total; ?></b> bệnh được tìm thấy</span> |
    </div>
    <div class="paginator br">
        <ul>
            <li><a onclick="admin_medical_disease.first_page(); <?php if (isset($related)) :?>return admin_medical_disease.filter_disease_related('disease_relate_list', '', <?php echo (isset($type)) ? $type : 0; ?>);<?php else :?>return false;<?php endif; ?>">Đầu</a></li>
            <li><a onclick="admin_medical_disease.prev_page(); <?php if (isset($related)) :?>return admin_medical_disease.filter_disease_related('disease_relate_list', '', <?php echo (isset($type)) ? $type : 0; ?>);<?php else :?>return false;<?php endif; ?>">Trước đó</a></li>
            <?php for ($index = $paginator['lower']; $index <= $paginator['upper']; $index++) :?>
            <li <?php if ($index == $current_page) :?>class="current"<?php endif; ?>><a onclick="admin_medical_disease.go_page(this); <?php if (isset($related)) :?>return admin_medical_disease.filter_disease_related('disease_relate_list', '', <?php echo (isset($type)) ? $type : 0; ?>);<?php else :?>return false;<?php endif; ?>"><?php echo $index; ?></a></li>
            <?php endfor; ?>
            <li><a onclick="admin_medical_disease.next_page(<?php echo $paginator['total']; ?>); <?php if (isset($related)) :?>return admin_medical_disease.filter_disease_related('disease_relate_list', '', <?php echo (isset($type)) ? $type : 0; ?>);<?php else :?>return false;<?php endif; ?>">Tiếp theo</a></li>
            <li><a onclick="admin_medical_disease.last_page(<?php echo $paginator['total']; ?>); <?php if (isset($related)) :?>return admin_medical_disease.filter_disease_related('disease_relate_list', '', <?php echo (isset($type)) ? $type : 0; ?>);<?php else :?>return false;<?php endif; ?>">Cuối</a></li>
        </ul>
    </div>
</div>